# coding=utf-8
'''
Created on 2015年9月21日

@author: bailiangjun
'''
from staff.models import StaffInfo, PositionMap, ProductionTeam, Department, PersonInfo

def CreatePosintionMap():
    """
    @attention: 创建职位信息
    """
    pass


def test():
    pos = PositionMap(key="001", val="pos")
    pos.save()
    pt = ProductionTeam(key="001", val="pt")
    pt.save()
    staff = StaffInfo(cn_name=u"白", position=pos, production_team=pt)
    staff.save()

if __name__ == '__main__':
    test()
